package master.photo.controller;

import master.photo.domain.Profile;

class ProfileImageController {
	
	def show = {
		def profile = Profile.get(params.id);
		
		if (profile && profile.photo) {
			response.outputStream << profile.photo;
		}
	}
	
}
